package com.imooc.alllearning.domain.dto;

import com.imooc.alllearning.util.InsertValidationGroup;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 用户查询DTO
 * Created by lijian on 2020/3/27 11:50
 */
@Data
public class UserQueryDTO implements Serializable {

    private static final long serialVersionUID = 6189512389710070739L;
    @NotBlank(message = "用户名不能为空！")
    private String username;// 用户姓名

}
